<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Title</title>
  </head>
  <body>
    欢迎你
    <div></div>
    <script>
      var div = document.querySelector("div");
      div.innerHTML = location.search.split("=")[1];
    </script>
  </body>
</html>
